home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / jptui35b.zip / DOCS / DEBUG.TXT < prev    next >
Text File  |  1996-10-06  |  5KB  |  71 lines

  1. JPTUI 3.5 : Error codes (debug version only)
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. When using the debug version of JPTUI, you can get the following message :
  5. "Abnormal program termination -> xx" where xx is an error number.
  6.  
  7. This error number is one of the following :
  8.  
  9. ┌─────┬─────────────────────────────────────────────────────────────────────┐
  10. │   1 │ Can't add an element to an open window                              │
  11. ├─────┼─────────────────────────────────────────────────────────────────────┤
  12. │   2 │ An element of the object being destructed hasn't been destructed    │
  13. ├─────┼─────────────────────────────────────────────────────────────────────┤
  14. │   3 │ Can't add an element to an object which is open or can't have child │
  15. │     │ objects                                                             │
  16. ├─────┼─────────────────────────────────────────────────────────────────────┤
  17. │   4 │ Invalid object number                                               │
  18. ├─────┼─────────────────────────────────────────────────────────────────────┤
  19. │   5 │ Object without window                                               │
  20. ├─────┼─────────────────────────────────────────────────────────────────────┤
  21. │   6 │ Disabled element                                                    │
  22. ├─────┼─────────────────────────────────────────────────────────────────────┤
  23. │   7 │ Only a tab can be added to a tab group                              │
  24. ├─────┼─────────────────────────────────────────────────────────────────────┤
  25. │   8 │ No tab is visible                                                   │
  26. ├─────┼─────────────────────────────────────────────────────────────────────┤
  27. │   9 │ Only one application can be declared                                │
  28. ├─────┼─────────────────────────────────────────────────────────────────────┤
  29. │  10 │ An application must be declared before any window declaration       │
  30. ├─────┼─────────────────────────────────────────────────────────────────────┤
  31. │  11 │ A window must be closed before being destructed                     │
  32. ├─────┼─────────────────────────────────────────────────────────────────────┤
  33. │  12 │ Can't add a menu to an open menu bar                                │
  34. ├─────┼─────────────────────────────────────────────────────────────────────┤
  35. │  13 │ Invalid icon type                                                   │
  36. ├─────┼─────────────────────────────────────────────────────────────────────┤
  37. │  14 │ Invalid item number                                                 │
  38. ├─────┼─────────────────────────────────────────────────────────────────────┤
  39. │  15 │ A window mustn't refuse to take the focus                           │
  40. ├─────┼─────────────────────────────────────────────────────────────────────┤
  41. │  16 │ The visible tab is not the good one                                 │
  42. ├─────┼─────────────────────────────────────────────────────────────────────┤
  43. │  17 │ A disabled push button can't be pressed                             │
  44. ├─────┼─────────────────────────────────────────────────────────────────────┤
  45. │  18 │ The edit zone hasn't taken the focus again after the closing of the │
  46. │     │ message box                                                         │
  47. ├─────┼─────────────────────────────────────────────────────────────────────┤
  48. │  19 │ Invalid button type                                                 │
  49. ├─────┼─────────────────────────────────────────────────────────────────────┤
  50. │  20 │ Invalid button number                                               │
  51. ├─────┼─────────────────────────────────────────────────────────────────────┤
  52. │  21 │ The application is destructed without being stopped or while some   │
  53. │     │ dialog boxes are running                                            │
  54. ├─────┼─────────────────────────────────────────────────────────────────────┤
  55. │  22 │ Before destructing the application, all windows must be closed and  │
  56. │     │ destructed                                                        │
  57. ├─────┼─────────────────────────────────────────────────────────────────────┤
  58. │  23 │ The application can't be initialized if it has already been         │
  59. │     │ initialized or if some dialog boxes are running                     │
  60. ├─────┼─────────────────────────────────────────────────────────────────────┤
  61. │  24 │ The application must be initialized before being ran                │
  62. ├─────┼─────────────────────────────────────────────────────────────────────┤
  63. │  25 │ A dialog box can't be run if the application hasn't been initialized│
  64. ├─────┼─────────────────────────────────────────────────────────────────────┤
  65. │  26 │ Invalid window number                                               │
  66. ├─────┼─────────────────────────────────────────────────────────────────────┤
  67. │  27 │ Invalid window height                                               │
  68. ├─────┼─────────────────────────────────────────────────────────────────────┤
  69. │  28 │ Invalid menu number                                                 │
  70. └─────┴─────────────────────────────────────────────────────────────────────┘
  71.